package com.xframe.xdal.core.annotation;

import java.lang.annotation.*;

/**
 * 数据库表名称对应注解
 *
 * @author xufeng
 * @version 1.0
 * @date 2022-09-19
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Inherited
public @interface XTable {
    String value() default "";

    String label() default "";

    String indexName() default "";

    TableType tableType() default TableType.Table;

    String dataSourceCode() default "main";

}
